package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.CouponTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CouponManagerMapper {
    // 查询优惠券类型列表
    List<CouponTypeEntity> listCouponType(@Param("key") String key) throws Exception;

    // 查询最近插入代金券类型的id
    Integer getCouponTypeId() throws Exception;
}
